//
// Created by Administrator on 2024/7/16.
//

#include "jtt809_0x9101.h"
#include "../msgpack/messagepack_reader.h"
#include "../msgpack/MessagePackWriter.h"

namespace protocol {
    void JTT809_0x9101::serialize(MessagePackWriter &writer) {
        writer.writeUint(dynamicInfoTotal);
        writer.writeTime(startTime);
        writer.writeTime(endTime);
    }

    void JTT809_0x9101::deserialize(MessagePackReader &reader) {
        reader.decode();
        reader.readUint(dynamicInfoTotal);
        reader.readTime(startTime);
        reader.readTime(endTime);
    }

    std::string JTT809_0x9101::toString() const {
        return "发送车辆定位信息数量通知消息";
    }
} // jtt809